﻿using SiteUnity.Layers.Core.Connection.Database;
using SiteUnity.Frame.Common.Tools;

namespace SiteUnity.Layers.Core.Provider
{
    abstract public class Provider
    {
        public MssqlDatabase Database { get; set; }

        public void SetDefaultConnection()
        {
            Database = new MssqlDatabase(Setting.GetAppSetting("ConnectionString"));
        }
    }
}
